test: regmap: add regmap_read_poll_timeout test
authorNeil Armstrong <[email protected]>
Thu, 22 Nov 2018 10:01:04 +0000 (11:01 +0100)
committerJagan Teki <[email protected]>
Sat, 24 Nov 2018 09:11:11 +0000 (14:41 +0530)
commitebe3497c9c96def46e48b57300933abe0c4c850c
tree3dd5b980b1570eddae5c225e2362a63c515ed9dc
parentd13801ef1d14fe46f97630b56e01200b337dad6c
test: regmap: add regmap_read_poll_timeout test

Add test to regmap_read_poll_timeout() helper to check the timeout works
properly but cannot test proper condition matching since read/write calls
are not executed in sandbox.

Tested-by: Jerome Brunet <[email protected]>
Acked-by: Jagan Teki <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
test/dm/regmap.c